home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / drvins11.zip / READ.ME < prev   
Text File  |  1990-12-04  |  5KB  |  111 lines

  1.  
  2.                             DRVINST/DRVPOP
  3.                Device Driver Installation/Removal Kit
  4.                              Version 1.1
  5.  
  6. If you have previously used DRVINST/DRVPOP, just see end notes.
  7.  
  8. MS-DOS device drivers are used by many programmers, forcing users to place many
  9. rarely needed devices in their CONFIG.SYS files.  This not only slows down the
  10. machine (a triffle), causes conflicts (between names and interrupt vectors),
  11. but also prevents some software from running because too much memory is wasted
  12. on device drivers.
  13.  
  14. Network administrators (such as myself), have several additional problems when
  15. dealing with diskless workstations.  We must find a way to run all software on
  16. all machines (see above paragraph and raise to the n th power where n is big)
  17. and yet boot from common (non-changing) boot images.
  18.  
  19. DRVINST is a quick and dirty method of installing device drivers when you need
  20. them rather than at boot time.  It can install most character device drivers,
  21. but not block devices (that should be tested a bit more before I unleash it to
  22. the public).
  23.  
  24. To install a device driver, say an expanded memory simulator with argument /p
  25.         DRVINST path\driver  [args]
  26.         DRVINST C:\DOS33\EMSIM.SYS /p
  27.  
  28. I included a program to remove device drivers too, but I recommend you use it
  29. with caution since it may cause the system to crash if some program (like a
  30. TSR) is trying to use it WHILE you are removing from memory.  You will need
  31. MARK and RELEASE (available from every FTP site or BBS).
  32.  
  33. To temporarily install a device driver and then unload it in a batch file:
  34.         MARK
  35.         DRVINST path\driver [args]
  36.         if errorlevel==1 goto done
  37.         ...
  38.         DRVPOP
  39.         :done
  40.         RELEASE
  41.  
  42.  
  43. Limitations:
  44. This problem is a kludge for what DOS should do, and I wrote it in C one
  45. angry morning, so here are its limitations:
  46.  
  47. -   Consumes almost 4K in addition to the size of the device driver.
  48.  
  49. -   Does not install block devices, i.e. disk drives.
  50.  
  51. -   Does not load EXE format device drivers.  The only one I have seen to
  52.     date is Microsoft's EMM.SYS distributed with Windows 3.0.  These are the
  53.     ones with MZ as the first two bytes of the .SYS file.
  54.  
  55. -   Imposes a limit on the size of the driver, (about 50-60K).  Big drivers
  56.     may not work even though DRVINST may not croak.
  57.  
  58. -   The error messages are not particularly nice.
  59.  
  60. -   Special devices are not truly supported, like console input, console output,
  61.     clock, and NUL (which doesn't count, because you cannot install it anyways).
  62.  
  63. -   DRVPOP.EXE is a particularly braindead program, it should only be used
  64.     as shown in the example above!  It works with most drivers, but don't
  65.     bet your life on it.
  66.  
  67. -   This is version 1.1.  It works with DOS 3.1 - 4.x but is mostly tested with
  68.     version 3.3.
  69.  
  70. Payment????????
  71.     No fee, just mail me a message telling me that you are using this program.
  72.     I wonder how many people are using it and may contemplate a better version.
  73.     Please indicate you are using DRVINST and the version number.  If you do
  74.     not indicate otherwise, I will place you on the DRVINST mailing list so you
  75.     will be informed of any major improvements.
  76.  
  77. Common Questions:
  78.     Can you install device drivers in batch files, can you remove device
  79.     drivers?  Yes, see above example.
  80.  
  81.     Can you install device drivers for MS Windows 3.0?  Yes, before you run
  82.     Windows.  Can you install device drivers in an MS-Window?  No, Windows
  83.     paging means the correct page may not be mapped in and the OS will crash
  84.     on the next attempt to write to ANY character device or any file open.
  85.  
  86.     Can you re-install a device?  Yes, the last installed version will be the
  87.     used one.  In fact, that is how DOS normally installs drivers for already
  88.     existant drivers like com ports.
  89.  
  90.     I'm experimenting with programs that have very large drivers (> 50K) that
  91.     I'd like to be able to unload...  Sorry, this version is limited to about
  92.     50-60 K loadables.  Try it, but it may not work.  Quarterdeck apparently
  93.     has a similar program which may help you.
  94.  
  95. Changes from version 1.0 to 1.1
  96.     - patch for device drivers which assume DS=CS, such as NETDEV.SYS used
  97.       for PC/IP
  98.     - DRVPOP improved - now usually safe when used as shown above
  99.  
  100. Mail comments to:
  101.     Erick@Development.Watstar.Waterloo.ca
  102.  or Erick@Development.Watstar.UWaterloo.uucp
  103.  
  104.     Erick Engelke
  105.     Watstar Network
  106.     University of Waterloo
  107.     200 University Ave.,
  108.     Waterloo, Ont., Canada
  109.     N2L 3G1
  110.  
  111.